korlibs
Toggle table of contents
6.1.0-SNAPSHOT
js
Target filter
js
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
korlibs.io.runtime
/
[js]JsRuntime
Js
Runtime
js
abstract
class
JsRuntime
Inheritors
JsRuntimeBrowser
Members
Constructors
Js
Runtime
Link copied to clipboard
js
constructor
(
)
Types
Companion
Link copied to clipboard
js
object
Companion
Properties
is
Browser
Link copied to clipboard
js
open
val
isBrowser
:
Boolean
raw
Os
Name
Link copied to clipboard
js
open
val
rawOsName
:
String
raw
Platform
Name
Link copied to clipboard
js
open
val
rawPlatformName
:
String
Functions
create
Client
Link copied to clipboard
js
open
suspend
fun
createClient
(
secure
:
Boolean
)
:
AsyncClient
create
Http
Client
Link copied to clipboard
js
open
fun
createHttpClient
(
)
:
HttpClient
create
Http
Server
Link copied to clipboard
js
open
fun
createHttpServer
(
)
:
HttpServer
create
Server
Link copied to clipboard
js
open
suspend
fun
createServer
(
port
:
Int
,
host
:
String
,
backlog
:
Int
,
secure
:
Boolean
)
:
AsyncServer
current
Dir
Link copied to clipboard
js
open
fun
currentDir
(
)
:
String
exists
Sync
Link copied to clipboard
js
abstract
fun
existsSync
(
path
:
String
)
:
Boolean
local
Storage
Link copied to clipboard
js
open
fun
localStorage
(
)
:
VfsFile
open
Vfs
Link copied to clipboard
js
open
fun
openVfs
(
path
:
String
)
:
VfsFile
temp
Vfs
Link copied to clipboard
js
open
fun
tempVfs
(
)
:
VfsFile